package com.zy.openchat.core.model.circle;

import android.os.Parcel;
import android.os.Parcelable;

public class BlogLocationInfo implements Parcelable {


    public String latitude;
    public String longitude;
    public String horizontal_accuracy;


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.latitude);
        dest.writeString(this.longitude);
        dest.writeString(this.horizontal_accuracy);
    }

    public void readFromParcel(Parcel source) {
        this.latitude = source.readString();
        this.longitude = source.readString();
        this.horizontal_accuracy = source.readString();
    }

    public BlogLocationInfo() {
    }

    protected BlogLocationInfo(Parcel in) {
        this.latitude = in.readString();
        this.longitude = in.readString();
        this.horizontal_accuracy = in.readString();
    }

    public static final Creator<BlogLocationInfo> CREATOR = new Creator<BlogLocationInfo>() {
        @Override
        public BlogLocationInfo createFromParcel(Parcel source) {
            return new BlogLocationInfo(source);
        }

        @Override
        public BlogLocationInfo[] newArray(int size) {
            return new BlogLocationInfo[size];
        }
    };
}
